﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="vsWebpart_EditComerUserControl.ascx.cs"
    Inherits="NewComer06.vsWebpart_EditComer.vsWebpart_EditComerUserControl" %>
<style type="text/css">
    .tablestyle
    {
        width: 100%;
    }
    .tablestyle td
    {
        vertical-align: top;
    }
    .lkButton
    {
        color: Orange;
    }
    
    .style2
    {
        width: 349px;
    }
    
    .textboxstyle
    {
        background-image: url('/_layouts/images/ReportServer/editreport.gif');
        background-repeat: no-repeat;
        background-position: top right;
        padding-left: 18px;
    }
</style>
<%--<script language="javascript">
    function PopupPicker(ctl) {
        var PopupWindow = null;
        PopupWindow = window.open('DatePicker.aspx?ctl=' + ctl, '', 'width=250,height=250');
        PopupWindow.focus();
    }
    function show_popup() {
        var p = window.createPopup();
        var pbody = p.document.body;
        
        pbody.style.backgroundColor = "lime";
        pbody.style.border = "solid black 1px";
        pbody.innerHTML = "This is a pop-up! Click outside the pop-up to close.";
        p.show(100, 50, 200, 50, document.body);
    }

</script>--%>
<script type="text/javascript">
    function popupCalendar() {
        var dateField = document.getElementById('dateField');
        if (dateField.style.display == 'none')
            dateField.style.display = 'block';
        else
            dateField.style.display = 'none';

            
    }
</script>
<table class="tablestyle">
    <tr>
        <td class="style2">
            First Name:
        </td>
        <td rowspan="7">
            <asp:Image ImageUrl="http://w3schools.com/html/tryit.asp?filename=tryhtml_pulpitimage/"
                ID="Image1" runat="server" />
        </td>
    </tr>
    <tr>
        <td class="style2">
            Last Name:
        </td>
    </tr>
    <tr>
        <td class="style2">
            Job Title:
        </td>
    </tr>
    <tr>
        <td class="style2">
            Project:
        </td>
    </tr>
    <tr>
        <td class="style2">
            Report To:
        </td>
    </tr>
    <tr>
        <td class="style2">
            Skill:
        </td>
    </tr>
    <tr>
        <td class="style2">
            Source
        </td>
    </tr>
    <tr>
        <td class="style2">
            Start Date
         
            <asp:TextBox ID="txtDate" runat="server"></asp:TextBox>
            &nbsp;<img src="/_layouts/images/NewComersImage/datetimeicon.gif"  
                onclick="popupCalendar()" alt="image" width="20"/>
            <div id="dateField" style="display: none;">
                <asp:Calendar ID="calDate"  OnSelectionChanged="calDate_SelectionChanged" runat="server" />
            </div>
        </td>
        <td>
            <asp:FileUpload ID="fulImage" runat="server" />
            <br />
            <br />
            <asp:LinkButton ID="lkbUploadImage" runat="server" CssClass="lkButton">Upload | </asp:LinkButton>
            <asp:LinkButton ID="lkbDeleteImage" runat="server" CssClass="lkButton">Delete</asp:LinkButton>
        </td>
    </tr>
    <tr>
        <td class="style2">
            <table class="style1">
                <tr>
                    <td>
                        <asp:LinkButton ID="lkbUpdate" runat="server" CssClass="lkButton">Update</asp:LinkButton>
                    </td>
                    <td>
                        <asp:LinkButton ID="lkbDelete" runat="server" CssClass="lkButton">Delete</asp:LinkButton>
                    </td>
                    <td>
                        <asp:LinkButton ID="lkbCancel" runat="server" CssClass="lkButton">Cancel</asp:LinkButton>
                    </td>
                </tr>
            </table>
        </td>
        <td>
            &nbsp;
        </td>
    </tr>
</table>
